# files
SRC = cnckernel.cpp
OBJ = $(SRC:.cpp=.o)
OUT = libcnckernel.a

# options
SOURCE    = ../../src/
INCLUDES  = -I..\..\include
INCLUDES += -I..\..\..\kernel\include

# compiler
CC = g++

$(OUT):	$(OBJ)
	ar rcs $(OUT) $(OBJ)

$(OBJ): %.o:	$(SOURCE)%.cpp
	$(CC) -c $(INCLUDES) $< -o $@

clean:
	rm *.o

